package test;

import org.springframework.stereotype.Component;

@Component("truck")
public class Truck implements  Car{
    public void drive()
    {
        System.out.println("司机开卡车");
    }
}
